
using PureMVC.Patterns.Observer;

namespace WooEngine.Register
{
    public abstract class AbstractRegisterProvider : Notifier, IRegisterProvider
    {
        public void Regist()
        {
            registCommand();
            registPage();
        }

        public void Remove()
        {
            removeCommand();
            removePage();
        }

        protected virtual void registCommand()
        {

        }

        protected virtual void registPage()
        {

        }

        protected virtual void removeCommand()
        {

        }

        protected virtual void removePage()
        {

        }
    }
}